import {Component, ElementRef, OnInit, ViewChild} from '@angular/core';
import {FormBuilder} from "@angular/forms";
import {FetchService} from "../../../core/net/fetch.service";
import {NzMessageService} from "ng-zorro-antd";
import {UtilService} from "../../../core/util/util.service";


@Component({
  selector: 'app-ywglxt',
  templateUrl: './ywglxt.component.html',
  styleUrls: ['./ywglxt.component.scss']
})
export class YwglxtComponent implements OnInit {
  tabData = [
    {name: '日实际用水', value: '1'},
    {name: '旬实际用水', value: '2'},
    {name: '月实际用水', value: '3'},
    {name: '年实际用水', value: '4'},
  ];

  selectTabValue = '4';

  constructor(
    private fb: FormBuilder,
    private fetchService: FetchService,
    private message: NzMessageService,
    private util: UtilService
  ) {
  }

  ngOnInit() {

  }

  tabChange(tab): void {
    this.selectTabValue = tab.value;
  }

}
